package cn.wolfcode.service;

import cn.wolfcode.domain.Destination;
import cn.wolfcode.query.DestinationQuery;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IDestinationService {
    void insert(Destination destination);
    void update(Destination destination);
    void delete(String id);
    Destination get(String id);
    List<Destination> listAll();

    List<Destination> getDestByRegionId(String ids);

    Page query(DestinationQuery qo);

    List<Destination> queryToasts(String parentId);

    List<Destination> getDestAllById(String regionId);


    Destination querybyDestName(String keyword);
}
